package js.web.center.netty.entity;

import js.web.center.netty.config.JsWebSocketConstant;

public class JsWebSocketBaseProtocol {
	private int headData=JsWebSocketConstant.HEAD_DATA;
	private int contentLength=0;
	private byte[] content=null;
	public JsWebSocketBaseProtocol(int contentLength,byte[] content) {
		this.contentLength=contentLength;
		this.content=content;
	}
	public int getHeadData() {
		return headData;
	}
	public void setHeadData(int headData) {
		this.headData = headData;
	}
	public int getContentLength() {
		return contentLength;
	}
	public void setContentLength(int contentLength) {
		this.contentLength = contentLength;
	}
	public byte[] getContent() {
		return content;
	}
	public void setContent(byte[] content) {
		this.content = content;
	}
}